package com.product.service.impl;

import com.common.Products;
import com.product.mapper.ProductMapper;
import com.product.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Author：毕龙
 * Date: 2023/9/2 11:51
 */
@Service
public class ProductServiceImpl implements ProductService {

    @Resource
    private ProductMapper productMapper;

    @Override
    public Products selectById(Integer productId) {
        return productMapper.selectById(productId);
    }
}
